export class ConfigManager {
    private static _instance: ConfigManager;
    public static get instance(): ConfigManager {
        if (!this._instance) {
            this._instance = new ConfigManager();
        }
        return this._instance;
    }

    private constructor() {}

    private configs: Map<string, any> = new Map();

    public setConfig(key: string, value: any): void {
        this.configs.set(key, value);
    }

    public getConfig<T>(key: string): T | undefined {
        return this.configs.get(key);
    }

   
} 